@charset "utf-8";


header{
  position: relative;
}
header .nav a{
  color: #666;
}

 header .nav a.active {
  font-size: 16px;
  padding-bottom: 21px;
  color: #00bdff;
  border-bottom: 2px solid #00bdff;
} 
header .login{
  color: #666;
  border-color: #d1d1d1;
}

header .logo a{
  background-image: url(../images/api-new-logo-white.png);
}

 .footer{
   background-color: #f8f8f8;
        
 }
/* ------顶部空盒子 撑高度---------- */
/* .top-block{
   height: 91px;
} */
/* .content{
  padding-top: 91px;
} 
 */
/* ---------------API分类导航------------ */

.api-assort .title{
  font-size: 28px;
  color: #3d3e3e;
  line-height: 74px;
  margin-top: 26px;
}
.api-assort .nav{
  /* border: 1px solid blue; */
}
.api-assort .nav a{
  padding: 0 15px;
  font-size: 14px;
  color: #666;
  height: 26px;
  line-height: 24px;
  border: 1px solid #ddd;
  margin-right: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border-radius: 10px;
  cursor: pointer;
}
.api-assort .nav a.bold{
   font-weight: bold;
}
.api-assort .nav a:hover,
.api-assort .nav a.active{
  color: #00bdff;
  border-color:#00bdff;
}
/* 搜索 */
.content .search{
  line-height: 30px;
  margin-bottom: 23px;
}
.content .assort-search {
  position: relative;
  margin-left:20px ;
  /* border: 1px solid red; */

}

.content .assort-search .assort-kw{
  width: 230px;
  height: 30px;
  background-color: #f4f4f4;
  text-indent:16px ;
  font-size: 12px;
  border-radius: 16px;
  color: #666;
}
.content .magnifier{
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}
/* 全部两个字 */
.content .search .desc{
  font-size: 14px;
  color: #3d3e3e;
  font-weight:bold;
}
/*  API列表区域 */
.api-list{
  position: relative;
} 
.api-list .list-item{
  position: relative;
  width: 228px;
  height: 270px;
  font-size: 12px;
  border: 1px solid #eee;
  margin-right: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  
}
 .api-list .list-item:hover .apply-data{
   bottom: 17px;
   opacity: 1;
  
}
.api-list .list-item:hover .content{
 transform: translateY(-10px);
 
} 

.api-list .list-item .api-name{
   color: #666;
}

.api-list .list-item .color29c287{
  color: #29c287;
}
.api-list .list-item .colorff546b{
  color: #ff546b;
}
.api-list .list-item  .apply-data{
  position: absolute;
  width: 192px;
  height: 32px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 32px;
  bottom: -34px;
  color: #fff;
  background-color: #00bdff;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s linear;

}

.api-list .list-item span{
  position: absolute;
  top: 10px;
  left: 10px;
  width: 58px;
  height: 22px;
  line-height: 22px;
  color: #00bdff;
  background-color: #e5f8ff;
}
.api-list .list-item  .on{
  display: block
}
.api-list .list-item  .off{
  display: none;
}

.api-list .list-item .content{
  padding-top: 58px;
  line-height: 24px;
  transition: all 0.3s linear;
  
}
.api-list .list-item .api-name{
     margin-top: 13px;
}
.red{
  color: #FF7587;
}
.green{
  color:#42C890 ;
}
/*************----------- 分页区-------- */
.page-container{
  position: relative;
  height: 24px;
  line-height: 24px;
  margin-top: 41px;
  padding-bottom:69px; 
}
.page{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.page .page-link{
  width: 24px;
  height: 24px;
  margin-right: 15px;
  text-align: center;
  cursor: pointer;
}
.page .span-text{
  margin-right:15px; 
}
/* 当前页 */
.page .page-link.curpage{
  border-radius: 50%;
  background-color: #00bdff;
  color: #fff;
}
.page .next-page{
  color: #00bdff;
  cursor: pointer;

}

/* 登录与注册模态框 */
.mask{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  z-index: 6;
}
